package com.elong.businesstravel.protocol.login;

import org.json.JSONException;
import org.json.JSONObject;

import android.content.Context;

import com.elong.businesstravel.include.Version;
import com.elong.businesstravel.protocol.ProtocolDef;
import com.elong.businesstravel.protocol.baserequest.BaseELongHttpRequest;
/**
 * 发送推送token
 * @author lenovo
 *
 */
public class GetequipmentRequest extends BaseELongHttpRequest {
	
	// 'deviceid' => array ('type' => 'string'),
	// 'token' => array ('type' => 'string')

	public GetequipmentRequest(Context context, String token) {
		super(context);
		
		JSONObject jsonObject = new JSONObject();
		try {
			jsonObject.put("token", token);
		} catch (JSONException e) {
			e.printStackTrace();
		}
		setRequestActionParam(ProtocolDef.ACTION_Getequipment, jsonObject);
		
	}

}
